package com.util.assertUtil;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/1/29 10:14
 */
//@FunctionalInterface
public interface Assert<T> {
    boolean AssertExpression(T x,T y);

    default boolean doAssert(T x, T y, Assert a) {
        System.out.println("x:" + x + "   y:" + y);
        return a.AssertExpression(x, y);
    }

}
